home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
ftw
/
pdftw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-09
|
1KB
|
55 lines
/*
** <FTW.H>
** Header values for the third parameter to the user-supplied function
** for ftw().
**
** $Header: /tmp_mnt/net/quake/proj/wais/wais-8-b5/lib/RCS/pdftw.h,v 1.4 92/03/07 19:40:50 jonathan Exp $
*/
#define FTW_F 0 /* A normal file */
#define FTW_D 1 /* A directory */
#define FTW_DNR 2 /* Something opendir(3) failed on */
#define FTW_NS 3 /* Something stat(2) failed on */
/* choose your directory access method here:
*/
#ifdef hpux
#define _INCLUDE_POSIX_SOURCE
#define DIRSIZ_MACRO
#define USE_DIRENT
#endif
#if defined(USG) || defined(_IBMR2)
#ifndef NeXT
#ifndef _SYS_DIRENT_INCLUDED
#include <dirent.h>
#define USE_DIRENT
#endif
#endif /* ndef NeXT */
#endif
#ifdef NeXT
#include <sys/dir.h>
#define dirent direct
#endif /* def NeXT */
#if defined(BSD)
#ifndef NeXT
#define USE_SYS_NDIR
#include <sys/ndir.h>
#define dirent direct
#endif /* ndef NeXT */
#endif
#if defined(ultrix)
#define USE_SYS_DIR
#include <sys/dir.h>
#endif
#ifndef MAXNAMLEN
#define MAXNAMLEN 1024
#endif